Manager: Mixed Mode Manager



Mac OS X will not run 68K code. However, Carbon supports universal procedure pointers (UPPs) transparently, so you do not have to change them or remove them from your code. You may want to keep Mixed Mode Manager calls in your application to maintain compatibility with the current version of the Mac OS. Mixed Mode Manager calls from Carbon applications running on Mac OS 8 or 9 function normally.

Typically, applications should use ProcPtrs for their own code and plug-ins and use the new system-supplied UPP creation functions (such as NewModalFilterProc) for Toolbox callback UPPs. You still need to dispose of those UPPs (using the corresponding disposal function), so that any allocated memory can be cleaned up when your application is running on Mac OS 8 or 9.

Unsupported  CallAsyncUniversalProc

Unsupported  CallOSTrapUniversalProc

Not available in Carbon.

Unsupported  CallUniversalProc

Not available in Carbon.

Unsupported  DisposeRoutineDescriptor

Use a specific UPP disposal routine; e.g., use Dispose ControlDefinitionProc instead of the more general function DisposeRoutineDescriptor. Not available in Carbon.

Unsupported  DisposeRoutineDescriptorTrap

68K-specific. Does nothing in PowerPC-native code.

Unsupported  NewFatRoutineDescriptor

68K-specific. Does nothing in PowerPC-native code. Not available in Carbon.

Unsupported  NewFatRoutineDescriptorTrap

68K-specific. Does nothing in PowerPC-native code.

Unsupported  NewRoutineDescriptor

Applications should use ProcPtrs for their own code and plug-ins, and use the system-supplied UPP creation functions (such as NewModalFilterProc) for Toolbox callback UPPs. You still need to dispose of those UPPs using the appropriate system-supplied disposal function so that any allocated memory can be cleaned up when your application is running on Mac OS 8 or 9. Not available in Carbon.

Unsupported  NewRoutineDescriptorTrap

68K-specific. Does nothing in PowerPC-native code.

Unsupported  RestoreMixedModeState

Only useful for CFM-68K applications. Does nothing in PowerPC-native code.

Unsupported  SaveMixedModeState

Only useful for CFM-68K applications. Does nothing in PowerPC-native code.

[Table of Contents] [Manager Index] [Function Index]

Generated on: 8/1/2000. Copyright © 1999, 2000 Apple Computer, Inc. All rights reserved.